package com.binguo.wxapi.form;


import com.binguo.wxapi.service.ManKeBaoOrderForm;

public class ManKeBaoForm {

    private String supplierCode;

    private String requestId;

    private long timestamp;

    private String version;

    private String method;

    private String sign;

    private ManKeBaoOrderForm data;

    public String getMethod() {
        return method;
    }

    public void setMethod(String method) {
        this.method = method;
    }

    public String getSupplierCode() {
        return supplierCode;
    }

    public void setSupplierCode(String supplierCode) {
        this.supplierCode = supplierCode;
    }

    public long getTimestamp() {
        return timestamp;
    }

    public String getRequestId() {
        return requestId;
    }

    public void setRequestId(String requestId) {
        this.requestId = requestId;
    }

    public void setTimestamp(long timestamp) {
        this.timestamp = timestamp;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public String getSign() {
        return sign;
    }

    public void setSign(String sign) {
        this.sign = sign;
    }

    public Object getData() {
        return data;
    }

    public void setData(ManKeBaoOrderForm data) {
        this.data = data;
    }

    public ManKeBaoForm(){}

    public ManKeBaoForm(String phone,String method,String sign,ManKeBaoOrderForm data) {
        this.supplierCode = phone;
        long flag = System.currentTimeMillis();
        this.timestamp = flag;
        this.requestId = String.valueOf(flag);
        this.version = "1.0";
        this.method = method;
        this.sign = sign;
        this.data = data;
    }





}
